/**
 * Created by baoman on 2017/4/6.
 */
angular.module(moduleName + '.directives')
  .directive('hrHelpCenter',function($state){
    return{
      restrict:'EA',
      templateUrl:'hr-help-center/hr-help-center.html',
      relace:true,
      scope:{
        buttons:"=",
        onlineState:"@",
        serviceHeader:"="
      },
      link:function(scope){
        scope.goLine = function(){
          $state.go(scope.onlineState);
        }
      }
    }
  });
